package com.koron.ticket.workchange.ticketchangedelay.mapper;


import com.koron.ticket.workchange.ticketchangedelay.bean.TicketChangeDelay;
import com.koron.ticket.workchange.ticketchangedelay.bean.TicketChangeDelayQuery;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;

/**
 * (TicketChangeDelay)表数据库访问层
 *
 * @author 朱超
 * @since 2021-10-27 09:28:02
 */
public interface TicketChangeDelayMapper {

    void insert(TicketChangeDelay ticketChangeDelay);

    void deleteById(@Param("id") String id);

    void update(TicketChangeDelay ticketChangeDelay);

    TicketChangeDelay getSingle(TicketChangeDelayQuery ticketChangeDelayQuery);

    List<TicketChangeDelay> getList(TicketChangeDelayQuery ticketChangeDelayQuery);

    Date getLastDelayTime(@Param("workTicketId") String workTicketId);

    void deleteByWorkTicketId(@Param("workTicketId") String workTicketId);
}
